package com.woniu.outlet.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProProgressExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProProgressExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andProPlanIdIsNull() {
            addCriterion("pro_plan_id is null");
            return (Criteria) this;
        }

        public Criteria andProPlanIdIsNotNull() {
            addCriterion("pro_plan_id is not null");
            return (Criteria) this;
        }

        public Criteria andProPlanIdEqualTo(Long value) {
            addCriterion("pro_plan_id =", value, "proPlanId");
            return (Criteria) this;
        }

        public Criteria andProPlanIdNotEqualTo(Long value) {
            addCriterion("pro_plan_id <>", value, "proPlanId");
            return (Criteria) this;
        }

        public Criteria andProPlanIdGreaterThan(Long value) {
            addCriterion("pro_plan_id >", value, "proPlanId");
            return (Criteria) this;
        }

        public Criteria andProPlanIdGreaterThanOrEqualTo(Long value) {
            addCriterion("pro_plan_id >=", value, "proPlanId");
            return (Criteria) this;
        }

        public Criteria andProPlanIdLessThan(Long value) {
            addCriterion("pro_plan_id <", value, "proPlanId");
            return (Criteria) this;
        }

        public Criteria andProPlanIdLessThanOrEqualTo(Long value) {
            addCriterion("pro_plan_id <=", value, "proPlanId");
            return (Criteria) this;
        }

        public Criteria andProPlanIdIn(List<Long> values) {
            addCriterion("pro_plan_id in", values, "proPlanId");
            return (Criteria) this;
        }

        public Criteria andProPlanIdNotIn(List<Long> values) {
            addCriterion("pro_plan_id not in", values, "proPlanId");
            return (Criteria) this;
        }

        public Criteria andProPlanIdBetween(Long value1, Long value2) {
            addCriterion("pro_plan_id between", value1, value2, "proPlanId");
            return (Criteria) this;
        }

        public Criteria andProPlanIdNotBetween(Long value1, Long value2) {
            addCriterion("pro_plan_id not between", value1, value2, "proPlanId");
            return (Criteria) this;
        }

        public Criteria andProNameIsNull() {
            addCriterion("pro_name is null");
            return (Criteria) this;
        }

        public Criteria andProNameIsNotNull() {
            addCriterion("pro_name is not null");
            return (Criteria) this;
        }

        public Criteria andProNameEqualTo(String value) {
            addCriterion("pro_name =", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotEqualTo(String value) {
            addCriterion("pro_name <>", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameGreaterThan(String value) {
            addCriterion("pro_name >", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameGreaterThanOrEqualTo(String value) {
            addCriterion("pro_name >=", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLessThan(String value) {
            addCriterion("pro_name <", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLessThanOrEqualTo(String value) {
            addCriterion("pro_name <=", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLike(String value) {
            addCriterion("pro_name like", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotLike(String value) {
            addCriterion("pro_name not like", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameIn(List<String> values) {
            addCriterion("pro_name in", values, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotIn(List<String> values) {
            addCriterion("pro_name not in", values, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameBetween(String value1, String value2) {
            addCriterion("pro_name between", value1, value2, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotBetween(String value1, String value2) {
            addCriterion("pro_name not between", value1, value2, "proName");
            return (Criteria) this;
        }

        public Criteria andProcessIdIsNull() {
            addCriterion("process_id is null");
            return (Criteria) this;
        }

        public Criteria andProcessIdIsNotNull() {
            addCriterion("process_id is not null");
            return (Criteria) this;
        }

        public Criteria andProcessIdEqualTo(Long value) {
            addCriterion("process_id =", value, "processId");
            return (Criteria) this;
        }

        public Criteria andProcessIdNotEqualTo(Long value) {
            addCriterion("process_id <>", value, "processId");
            return (Criteria) this;
        }

        public Criteria andProcessIdGreaterThan(Long value) {
            addCriterion("process_id >", value, "processId");
            return (Criteria) this;
        }

        public Criteria andProcessIdGreaterThanOrEqualTo(Long value) {
            addCriterion("process_id >=", value, "processId");
            return (Criteria) this;
        }

        public Criteria andProcessIdLessThan(Long value) {
            addCriterion("process_id <", value, "processId");
            return (Criteria) this;
        }

        public Criteria andProcessIdLessThanOrEqualTo(Long value) {
            addCriterion("process_id <=", value, "processId");
            return (Criteria) this;
        }

        public Criteria andProcessIdIn(List<Long> values) {
            addCriterion("process_id in", values, "processId");
            return (Criteria) this;
        }

        public Criteria andProcessIdNotIn(List<Long> values) {
            addCriterion("process_id not in", values, "processId");
            return (Criteria) this;
        }

        public Criteria andProcessIdBetween(Long value1, Long value2) {
            addCriterion("process_id between", value1, value2, "processId");
            return (Criteria) this;
        }

        public Criteria andProcessIdNotBetween(Long value1, Long value2) {
            addCriterion("process_id not between", value1, value2, "processId");
            return (Criteria) this;
        }

        public Criteria andProductionTotalIsNull() {
            addCriterion("production_total is null");
            return (Criteria) this;
        }

        public Criteria andProductionTotalIsNotNull() {
            addCriterion("production_total is not null");
            return (Criteria) this;
        }

        public Criteria andProductionTotalEqualTo(Integer value) {
            addCriterion("production_total =", value, "productionTotal");
            return (Criteria) this;
        }

        public Criteria andProductionTotalNotEqualTo(Integer value) {
            addCriterion("production_total <>", value, "productionTotal");
            return (Criteria) this;
        }

        public Criteria andProductionTotalGreaterThan(Integer value) {
            addCriterion("production_total >", value, "productionTotal");
            return (Criteria) this;
        }

        public Criteria andProductionTotalGreaterThanOrEqualTo(Integer value) {
            addCriterion("production_total >=", value, "productionTotal");
            return (Criteria) this;
        }

        public Criteria andProductionTotalLessThan(Integer value) {
            addCriterion("production_total <", value, "productionTotal");
            return (Criteria) this;
        }

        public Criteria andProductionTotalLessThanOrEqualTo(Integer value) {
            addCriterion("production_total <=", value, "productionTotal");
            return (Criteria) this;
        }

        public Criteria andProductionTotalIn(List<Integer> values) {
            addCriterion("production_total in", values, "productionTotal");
            return (Criteria) this;
        }

        public Criteria andProductionTotalNotIn(List<Integer> values) {
            addCriterion("production_total not in", values, "productionTotal");
            return (Criteria) this;
        }

        public Criteria andProductionTotalBetween(Integer value1, Integer value2) {
            addCriterion("production_total between", value1, value2, "productionTotal");
            return (Criteria) this;
        }

        public Criteria andProductionTotalNotBetween(Integer value1, Integer value2) {
            addCriterion("production_total not between", value1, value2, "productionTotal");
            return (Criteria) this;
        }

        public Criteria andGoodProNumIsNull() {
            addCriterion("good_pro_num is null");
            return (Criteria) this;
        }

        public Criteria andGoodProNumIsNotNull() {
            addCriterion("good_pro_num is not null");
            return (Criteria) this;
        }

        public Criteria andGoodProNumEqualTo(Integer value) {
            addCriterion("good_pro_num =", value, "goodProNum");
            return (Criteria) this;
        }

        public Criteria andGoodProNumNotEqualTo(Integer value) {
            addCriterion("good_pro_num <>", value, "goodProNum");
            return (Criteria) this;
        }

        public Criteria andGoodProNumGreaterThan(Integer value) {
            addCriterion("good_pro_num >", value, "goodProNum");
            return (Criteria) this;
        }

        public Criteria andGoodProNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("good_pro_num >=", value, "goodProNum");
            return (Criteria) this;
        }

        public Criteria andGoodProNumLessThan(Integer value) {
            addCriterion("good_pro_num <", value, "goodProNum");
            return (Criteria) this;
        }

        public Criteria andGoodProNumLessThanOrEqualTo(Integer value) {
            addCriterion("good_pro_num <=", value, "goodProNum");
            return (Criteria) this;
        }

        public Criteria andGoodProNumIn(List<Integer> values) {
            addCriterion("good_pro_num in", values, "goodProNum");
            return (Criteria) this;
        }

        public Criteria andGoodProNumNotIn(List<Integer> values) {
            addCriterion("good_pro_num not in", values, "goodProNum");
            return (Criteria) this;
        }

        public Criteria andGoodProNumBetween(Integer value1, Integer value2) {
            addCriterion("good_pro_num between", value1, value2, "goodProNum");
            return (Criteria) this;
        }

        public Criteria andGoodProNumNotBetween(Integer value1, Integer value2) {
            addCriterion("good_pro_num not between", value1, value2, "goodProNum");
            return (Criteria) this;
        }

        public Criteria andScrapNumIsNull() {
            addCriterion("Scrap_num is null");
            return (Criteria) this;
        }

        public Criteria andScrapNumIsNotNull() {
            addCriterion("Scrap_num is not null");
            return (Criteria) this;
        }

        public Criteria andScrapNumEqualTo(Integer value) {
            addCriterion("Scrap_num =", value, "scrapNum");
            return (Criteria) this;
        }

        public Criteria andScrapNumNotEqualTo(Integer value) {
            addCriterion("Scrap_num <>", value, "scrapNum");
            return (Criteria) this;
        }

        public Criteria andScrapNumGreaterThan(Integer value) {
            addCriterion("Scrap_num >", value, "scrapNum");
            return (Criteria) this;
        }

        public Criteria andScrapNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("Scrap_num >=", value, "scrapNum");
            return (Criteria) this;
        }

        public Criteria andScrapNumLessThan(Integer value) {
            addCriterion("Scrap_num <", value, "scrapNum");
            return (Criteria) this;
        }

        public Criteria andScrapNumLessThanOrEqualTo(Integer value) {
            addCriterion("Scrap_num <=", value, "scrapNum");
            return (Criteria) this;
        }

        public Criteria andScrapNumIn(List<Integer> values) {
            addCriterion("Scrap_num in", values, "scrapNum");
            return (Criteria) this;
        }

        public Criteria andScrapNumNotIn(List<Integer> values) {
            addCriterion("Scrap_num not in", values, "scrapNum");
            return (Criteria) this;
        }

        public Criteria andScrapNumBetween(Integer value1, Integer value2) {
            addCriterion("Scrap_num between", value1, value2, "scrapNum");
            return (Criteria) this;
        }

        public Criteria andScrapNumNotBetween(Integer value1, Integer value2) {
            addCriterion("Scrap_num not between", value1, value2, "scrapNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumIsNull() {
            addCriterion("repair_num is null");
            return (Criteria) this;
        }

        public Criteria andRepairNumIsNotNull() {
            addCriterion("repair_num is not null");
            return (Criteria) this;
        }

        public Criteria andRepairNumEqualTo(Integer value) {
            addCriterion("repair_num =", value, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumNotEqualTo(Integer value) {
            addCriterion("repair_num <>", value, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumGreaterThan(Integer value) {
            addCriterion("repair_num >", value, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("repair_num >=", value, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumLessThan(Integer value) {
            addCriterion("repair_num <", value, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumLessThanOrEqualTo(Integer value) {
            addCriterion("repair_num <=", value, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumIn(List<Integer> values) {
            addCriterion("repair_num in", values, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumNotIn(List<Integer> values) {
            addCriterion("repair_num not in", values, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumBetween(Integer value1, Integer value2) {
            addCriterion("repair_num between", value1, value2, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumNotBetween(Integer value1, Integer value2) {
            addCriterion("repair_num not between", value1, value2, "repairNum");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andPassiveUserIdIsNull() {
            addCriterion("passive_user_id is null");
            return (Criteria) this;
        }

        public Criteria andPassiveUserIdIsNotNull() {
            addCriterion("passive_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andPassiveUserIdEqualTo(Integer value) {
            addCriterion("passive_user_id =", value, "passiveUserId");
            return (Criteria) this;
        }

        public Criteria andPassiveUserIdNotEqualTo(Integer value) {
            addCriterion("passive_user_id <>", value, "passiveUserId");
            return (Criteria) this;
        }

        public Criteria andPassiveUserIdGreaterThan(Integer value) {
            addCriterion("passive_user_id >", value, "passiveUserId");
            return (Criteria) this;
        }

        public Criteria andPassiveUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("passive_user_id >=", value, "passiveUserId");
            return (Criteria) this;
        }

        public Criteria andPassiveUserIdLessThan(Integer value) {
            addCriterion("passive_user_id <", value, "passiveUserId");
            return (Criteria) this;
        }

        public Criteria andPassiveUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("passive_user_id <=", value, "passiveUserId");
            return (Criteria) this;
        }

        public Criteria andPassiveUserIdIn(List<Integer> values) {
            addCriterion("passive_user_id in", values, "passiveUserId");
            return (Criteria) this;
        }

        public Criteria andPassiveUserIdNotIn(List<Integer> values) {
            addCriterion("passive_user_id not in", values, "passiveUserId");
            return (Criteria) this;
        }

        public Criteria andPassiveUserIdBetween(Integer value1, Integer value2) {
            addCriterion("passive_user_id between", value1, value2, "passiveUserId");
            return (Criteria) this;
        }

        public Criteria andPassiveUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("passive_user_id not between", value1, value2, "passiveUserId");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeIsNull() {
            addCriterion("handover_time is null");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeIsNotNull() {
            addCriterion("handover_time is not null");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeEqualTo(Date value) {
            addCriterion("handover_time =", value, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeNotEqualTo(Date value) {
            addCriterion("handover_time <>", value, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeGreaterThan(Date value) {
            addCriterion("handover_time >", value, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("handover_time >=", value, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeLessThan(Date value) {
            addCriterion("handover_time <", value, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeLessThanOrEqualTo(Date value) {
            addCriterion("handover_time <=", value, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeIn(List<Date> values) {
            addCriterion("handover_time in", values, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeNotIn(List<Date> values) {
            addCriterion("handover_time not in", values, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeBetween(Date value1, Date value2) {
            addCriterion("handover_time between", value1, value2, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeNotBetween(Date value1, Date value2) {
            addCriterion("handover_time not between", value1, value2, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andSpare1IsNull() {
            addCriterion("spare1 is null");
            return (Criteria) this;
        }

        public Criteria andSpare1IsNotNull() {
            addCriterion("spare1 is not null");
            return (Criteria) this;
        }

        public Criteria andSpare1EqualTo(String value) {
            addCriterion("spare1 =", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotEqualTo(String value) {
            addCriterion("spare1 <>", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1GreaterThan(String value) {
            addCriterion("spare1 >", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1GreaterThanOrEqualTo(String value) {
            addCriterion("spare1 >=", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1LessThan(String value) {
            addCriterion("spare1 <", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1LessThanOrEqualTo(String value) {
            addCriterion("spare1 <=", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1Like(String value) {
            addCriterion("spare1 like", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotLike(String value) {
            addCriterion("spare1 not like", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1In(List<String> values) {
            addCriterion("spare1 in", values, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotIn(List<String> values) {
            addCriterion("spare1 not in", values, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1Between(String value1, String value2) {
            addCriterion("spare1 between", value1, value2, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotBetween(String value1, String value2) {
            addCriterion("spare1 not between", value1, value2, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare2IsNull() {
            addCriterion("spare2 is null");
            return (Criteria) this;
        }

        public Criteria andSpare2IsNotNull() {
            addCriterion("spare2 is not null");
            return (Criteria) this;
        }

        public Criteria andSpare2EqualTo(String value) {
            addCriterion("spare2 =", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotEqualTo(String value) {
            addCriterion("spare2 <>", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2GreaterThan(String value) {
            addCriterion("spare2 >", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2GreaterThanOrEqualTo(String value) {
            addCriterion("spare2 >=", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2LessThan(String value) {
            addCriterion("spare2 <", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2LessThanOrEqualTo(String value) {
            addCriterion("spare2 <=", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2Like(String value) {
            addCriterion("spare2 like", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotLike(String value) {
            addCriterion("spare2 not like", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2In(List<String> values) {
            addCriterion("spare2 in", values, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotIn(List<String> values) {
            addCriterion("spare2 not in", values, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2Between(String value1, String value2) {
            addCriterion("spare2 between", value1, value2, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotBetween(String value1, String value2) {
            addCriterion("spare2 not between", value1, value2, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare3IsNull() {
            addCriterion("spare3 is null");
            return (Criteria) this;
        }

        public Criteria andSpare3IsNotNull() {
            addCriterion("spare3 is not null");
            return (Criteria) this;
        }

        public Criteria andSpare3EqualTo(String value) {
            addCriterion("spare3 =", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3NotEqualTo(String value) {
            addCriterion("spare3 <>", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3GreaterThan(String value) {
            addCriterion("spare3 >", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3GreaterThanOrEqualTo(String value) {
            addCriterion("spare3 >=", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3LessThan(String value) {
            addCriterion("spare3 <", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3LessThanOrEqualTo(String value) {
            addCriterion("spare3 <=", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3Like(String value) {
            addCriterion("spare3 like", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3NotLike(String value) {
            addCriterion("spare3 not like", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3In(List<String> values) {
            addCriterion("spare3 in", values, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3NotIn(List<String> values) {
            addCriterion("spare3 not in", values, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3Between(String value1, String value2) {
            addCriterion("spare3 between", value1, value2, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3NotBetween(String value1, String value2) {
            addCriterion("spare3 not between", value1, value2, "spare3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}